<%--
  Created by IntelliJ IDEA.
  User: 73786
  Date: 2021/4/8
  Time: 16:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加宠物</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">

    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>新增宠物</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/dog/addDog" method="post">
        <%--        <div class="form-group">--%>
        <%--            <label>编号：</label>--%>
        <%--            <input type="text" name="bookid" class="form-control" disabled >--%>
        <%--        </div>--%>
        <div class="form-group">
            <label>宠物标题：</label>
            <input type="text" name="dtitle" class="form-control" required>
        </div>
        <div class="form-group">
            <label>宠物内容：</label>
            <input type="text" name="dtext" class="form-control" required>
        </div>
        <div class="form-group">
            <label>联系方式：</label>
            <input type="text" name="phone" class="form-control" required>
        </div>
        <div class="form-group">
            <label>发布时间：</label>
            <input type="date" name="subtime" class="form-control" required>
        </div>
        <div class="form-group">
            <label>交接地址：</label>
            <input type="text" name="adress" class="form-control" required>
        </div>
        <div class="form-group">
            <label>状态：</label>
            <input type="text" name="state" class="form-control" placeholder="放养还是收养" required>
        </div>
        <div class="form-group">
            <input type="submit" class="form-control" value="发布">
        </div>

    </form>

</div>
</body>
</html>
